package com.lanqiao.guimei.vo;


import java.sql.Date;
import java.sql.Timestamp;

/**
 * @author 韩原
 * @date 2019/8/14  11:37
 */
public class TradeInfo {
    private String trdNo;
    private Integer buyer;
    private Integer totalMoney;
    private java.sql.Timestamp trdTime;
    private String trdLoc;
    private String receiver;
    private String phone;
    private Integer mark;
    private String loginname;

    public TradeInfo() {
    }


    public TradeInfo(String trdNo, Integer buyer, Integer totalMoney, Timestamp trdTime, String trdLoc, String receiver, String phone, Integer mark, String loginname) {
        this.trdNo = trdNo;
        this.buyer = buyer;
        this.totalMoney = totalMoney;
        this.trdTime = trdTime;
        this.trdLoc = trdLoc;
        this.receiver = receiver;
        this.phone = phone;
        this.mark = mark;
        this.loginname = loginname;
    }

    public TradeInfo(String trdNo) {
        this.trdNo = trdNo;
    }

    public TradeInfo(String trdNo, String trdLoc, String receiver, String phone) {
        this.trdNo = trdNo;
        this.trdLoc = trdLoc;
        this.receiver = receiver;
        this.phone = phone;

    }

    public TradeInfo(String trdNo, String loginname) {
        this.trdNo = trdNo;
        this.loginname = loginname;
    }

    public TradeInfo(String trdNo, Integer buyer, Integer totalMoney,Timestamp trdTime, String trdLoc, String receiver, String phone, Integer mark) {
        this.trdNo = trdNo;
        this.buyer = buyer;
        this.totalMoney = totalMoney;
        this.trdTime = trdTime;
        this.trdLoc = trdLoc;
        this.receiver = receiver;
        this.phone = phone;
        this.mark = mark;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getTrdNo() {
        return trdNo;
    }

    public void setTrdNo(String trdNo) {
        this.trdNo = trdNo;
    }

    public Integer getBuyer() {
        return buyer;
    }

    public void setBuyer(Integer buyer) {
        this.buyer = buyer;
    }

    public Integer getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Integer totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Timestamp getTrdTime() {
        return trdTime;
    }

    public void setTrdTime(Timestamp trdTime) {
        this.trdTime = trdTime;
    }

    public String getTrdLoc() {
        return trdLoc;
    }

    public void setTrdLoc(String trdLoc) {
        this.trdLoc = trdLoc;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getMark() {
        return mark;
    }

    public void setMark(Integer mark) {
        this.mark = mark;
    }

    @Override
    public String toString() {
        return "TradeInfo{" +
                "trdNo='" + trdNo + '\'' +
                ", buyer=" + buyer +
                ", totalMoney=" + totalMoney +
                ", trdTime=" + trdTime +
                ", trdLoc='" + trdLoc + '\'' +
                ", receiver='" + receiver + '\'' +
                ", phone='" + phone + '\'' +
                ", mark=" + mark +
                ", loginname='" + loginname + '\'' +
                '}';
    }
}
